/*
 * Clocks.h version 1.0
 *
 *  Created on: Oct 20, 2013
 *      Author: PabloFR
 */

#ifndef CLOCKS_H_
#define CLOCKS_H_

#include "derivative.h"


enum Frequency {			//External clock frequency
	LOW,
	HIGH,
	VERY_HIGH
};

enum Gain{					//Oscillator Gain Select
	LOW_POWER,
	HIGH_GAIN
};

enum FrDIV{
	F32,
	F64,
	F128,
	F256,
	F512,
	F1024,
	F1280,
	F1536
};

//function prototype
void FEI_to_PEE_Clock_Config(uint8_t Freq, uint8_t Gain, uint8_t Frdiv,uint8_t Prdiv,uint8_t Vdiv,
		uint8_t Clkdiv1, uint8_t Clkdiv2);

#endif /* CLOCKS_H_ */
